package com.j2203.service;

import com.j2203.dto.CarInfo;
import com.j2203.entity.Comment;
import com.j2203.entity.Game;
import com.j2203.entity.Gmdetail;
import com.j2203.vo.ShoppingCart;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShoppingCartService {

    Game findByIdGame(int gid);

    ShoppingCart addShoppingCar(int gid,int uid);

    ShoppingCart getShoppingCar(int uid);

    Gmdetail findByIdgmdetail(int gid);

    List<Comment> findAllComment(int gid);

    int delByIdShoppingCar(int gid,int uid);

    int delAllShoppingCar(int uid);

    ShoppingCart addOrder(int uid);

    int updateOrder(long oid);
}
